package com.xiaozhu.pojo.Entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.annotations.Insert;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author 朱慧军
 * @version 1.0
 *
 * 数据·实体类
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class User  implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;
    private String username;
    private String password;

    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    private Long createUser;
    private Long updateUser;

    private Integer roleId;
    private String role;


    private Integer permissionId;
    private String code;
}
